package com.prs.crm.dao.sale;

import java.util.Collection;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.sale.Returns;
import com.prs.crm.domain.sale.SalesContract;
import com.prs.crm.domain.sale.SalesContractDetail;
import com.prs.crm.domain.stock.Product;

public interface RetrunsDao extends BaseDao<Returns> {
	
	SalesContractDetail getSalesContractDetail(SalesContract sc,Product product);
	
	Returns getReturnObject(java.io.Serializable id);
	
	void saveOrUpdate(Returns re);
	Collection<Returns> getReturnsBysalesContract(SalesContract salesContract);
	
}
